package com.jenkins.hub;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package：com.jenkins.test
 * @Name：HelloController
 * @Author：热伊木
 * @Email：uyevan@163.com
 * @Date：2024-03-24-11:50
 * @Description：HelloController
 */

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String Hello() {
        return "HelloJenkins";
    }

    @RequestMapping("/world")
    public String World() {
        return "HelloWorld";
    }
}
